<%--
 *  File:    SystemMenuConfigInfo.jsp
 *  @Author: Michael Zhao 
 *  Date:    2002/11/20
 *
 *  Copyright (C) 2000 - 2001 Oval Technologies, Inc.
 *  All rights reserved. 
 *
 *  This software is the confidential and proprietary information of Oval 
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>


<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>     
<%@ page import="java.util.*" %>
<%@ page import="org.apache.log4j.Category" %>


<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/PageFlow.tld" prefix="PageFlow" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/custom.tld" prefix="custom" %>


<%
  
  String strModuleName = "IMG";    
  String privilegeCode = "Z0812";
%>


<%@ include file="/inc/Security.inc" %>
<%@ include file="/inc/PageDefault.inc" %>

<html>
<head>
<title></title>
<PageFlow:CheckPageFlow pageName="systemmenuinfo"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../css/<%= strLanguageCode %>/main.css" type="text/css">
<SCRIPT language=JavaScript1.2 src="../css/menu.js"></SCRIPT>
<script language="JavaScript" src="../css/<%= strLanguageCode %>/script.js"></script>
<script language="JavaScript" src="../js/FuncLib.js"></script>
<%
    HashMap systemmenuinfo = (HashMap)pageContext.getAttribute("systemmenuinfo");
	if(systemmenuinfo == null)
	{
		systemmenuinfo = new HashMap();
	}
   Integer app = (Integer)pageContext.getAttribute("app");


%>


<script language="JavaScript">

 function page_back()
 {
	location.href = "Blank.jsp?<%= OvalTools.randomURL() %>";

 }
 function page_copy()
 {
	 var privilegecode = "<%=JspHelper.filterNull( systemmenuinfo.get("privilegecode"))%>";
	 var privilegetype = "<%=JspHelper.filterNull( systemmenuinfo.get("privilegetype"))%>";
     var sortno = "<%=JspHelper.filterNull( systemmenuinfo.get("sortno"))%>";
     var url = "<%=JspHelper.filterNull( systemmenuinfo.get("url"))%>";
	 var module = "<%=JspHelper.filterNull( systemmenuinfo.get("module"))%>";
	 var status = "<%=JspHelper.filterNull( systemmenuinfo.get("status"))%>";

     var newurl = "SystemMenuConfigNew.jsp?<%= OvalTools.randomURL() %>&privilegecode=" + privilegecode + "&privilegetype=" + privilegetype + "&sortno=" + sortno + "&url=" + url+ "&module=" + module+ "&status=" + status+"&app="+"<%=JspHelper.filterNull( app)%>";
     location.href = newurl;
 }


</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
  <form name="cform" method="post" action="../Dispatcher">
    <input type="hidden" name="pagename" value="systemmenuinfo">
	<input type="hidden" name="actionname">
	<input type="hidden" name="app" value="<%=JspHelper.filterNull( app)%>">
    <tr> 
    <td valign="top"> 
      <table width="100%" cellspacing="0" cellpadding="0">
	  <tr> 
          <td colspan="2"><img src="../images/<%= strLanguageCode %>/quote.gif" width="16" height="11"> 
            <%= label.getLabelName("L_MenuInformation") + label.getLabelName("L_Colon") %></td>
        </tr>
      </table>
	  <table border="1" cellpadding="2" cellspacing="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" align="center" width="100%">
         <tr> 
          <td width="92" class="td-text"><%= label.getLabelName("L_MenuCode") + label.getLabelName("L_Colon") %></td>
          <td>&nbsp;<custom:write name="systemmenuinfo" property="privilegecode"/></td>
        </tr>
		 <tr> 
          <td class="td-text" width="92"><%= label.getLabelName("L_MenuType") + label.getLabelName("L_Colon") %></td>
          <td>&nbsp;<custom:write name="systemmenuinfo" property="privilegetype"/></td>
        </tr>
		<tr> 
          <td class="td-text" width="92"><%= label.getLabelName("L_SortNo") + label.getLabelName("L_Colon") %></td>
          <td>&nbsp;<custom:write name="systemmenuinfo" property="sortno"/></td>
        </tr>
		<tr> 
          <td class="td-text" width="92"><%= label.getLabelName("L_Url") + label.getLabelName("L_Colon") %></td>
          <td>&nbsp;<custom:write name="systemmenuinfo" property="url"/></td>
        </tr>
		<tr> 
          <td class="td-text" width="92"><%= label.getLabelName("L_MenuName") + label.getLabelName("L_Colon") %></td>
          <td>&nbsp;<custom:write name="systemmenuinfo" property="prn"/></td>
        </tr>
		<tr> 
          <td class="td-text" width="92"><%= label.getLabelName("L_ParentMenu") + label.getLabelName("L_Colon") %></td>
          <td>&nbsp;<custom:write name="systemmenuinfo" property="content"/></td>
        </tr>
		<tr> 
          <td class="td-text" width="92"><%= label.getLabelName("L_BelongApp") + label.getLabelName("L_Colon") %></td>
          <td>&nbsp;<custom:write name="systemmenuinfo" property="app"/></td>
        </tr>
		<tr> 
          <td class="td-text" width="92"><%= label.getLabelName("L_BelongModule") + label.getLabelName("L_Colon") %></td>
          <td>&nbsp;<custom:write name="systemmenuinfo" property="module"/></td>
        </tr>
		<tr> 
          <td class="td-text" width="92"><%= label.getLabelName("L_Status") + label.getLabelName("L_Colon") %></td>
          <td>&nbsp;<custom:write name="systemmenuinfo" property="valuename"/></td>
        </tr>
		<tr>
          <td class="td-text" width="92"><%= label.getLabelName("L_DateLastUpdate") + label.getLabelName("L_Colon") %></td>
          <td>&nbsp;<custom:write name="systemmenuinfo" property="datelastupdated"/></td>
        </tr>
      
	 <table width="100%" cellspacing="0" cellpadding="0">
	 <tr> 
      <td class="summary_top"></td>
    </tr>
	  <tr>
	  <td class="td_center"><a onclick="page_back()"><custom:button type="1" label="L_Back" imgsrc="back.gif" border="0" style="width:60"/></a> <a onclick="page_copy()"><custom:button type="1" label="L_Copy" imgsrc="Copy.gif" border="0" style="width:60"/></a></td>
    </tr>
	</table>
	</table>
	</td>
   </tr>
   </form>
</table>
</body>
</html>


